package com.study.mapper;

import com.study.entity.Emp;
import com.study.entity.LoginInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
    @Select("SELECT * FROM emp WHERE username=#{username} AND password = #{password}")
    LoginInfo login(Emp emp);
}
